#ifndef DB_H
#define DB_H
#include <QString>
#include <QSqlDatabase>
#include "rt_export.h"

namespace Rt {
class RT_EXPORT Db
{
public:
    static bool connect(const QString &confFilename,
                        QString *errorString = 0,
                        const QString &connectionName = QLatin1String(QSqlDatabase::defaultConnection));
};
}

#endif // DB_H
